
import moment from 'moment'
moment.locale('zh-cn')
// 时间的转换
const fromatTimeAgoFn = (targetDate) => {
  return moment(targetDate).from(new Date())
}
export {
  fromatTimeAgoFn
}
